package exception;

import java.io.IOException;
import java.text.ParseException;

/**
 * 重写中异常的抛出规则
 */
class Shape{
    public void draw() throws Exception {
        System.out.println("Shape.draw()");
    }
}
class Circle extends Shape{
    @Override
    public void draw() throws Exception{
        System.out.println("Circle.draw()");
    }
}
public class ThrowDemo02 {
    public static void main(String[] args) {

    }
}
//10：15
